package top.suven.base.http.enums;

public enum OrderSearchEnum {

    ALL(1, "所有订单"), WAIT_FOR_PAY(2, "等待付款"),
    PAY_FINNISH(3, "已付款"), EXPIRED(4, "已失效");

    private int index;
    private String name;

    OrderSearchEnum(int index, String name) {
        this.index = index;
        this.name = name;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
